<template>
    <div>        
      <van-overlay :show="show"/>
      <van-loading type="spinner" color="#1989fa" size="24px" vertical>加载中</van-loading>
    </div>
</template>
<script>
export default {
    data() {
      return{
          show : true
      }
    },
    methods:{}
}
</script>
<style scoped>
.van-loading{
    position: absolute;
    z-index: 50;
    top: 45%;
    left: 50%;
    transform: translateY(-50%);
    transform: translateX(-50%);   
}
</style>